package com.zpc.myvideoserver.service.impl;

import com.zpc.myvideoserver.entity.Video;
import com.zpc.myvideoserver.mapper.VideoMapper;
import com.zpc.myvideoserver.service.VideoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 视频信息管理表 服务实现类
 * </p>
 *
 * @author zpc
 * @since 2023/11/03
 */
@Service
public class VideoServiceImpl extends ServiceImpl<VideoMapper, Video> implements VideoService {

    @Autowired
    VideoMapper videoMapper;
    @Override
    public Video getByVideoName(String originalFilename) {
               return videoMapper.getByVideoName(originalFilename);
    }
}
